package cn.com.xcf.dao.mapper;

import cn.com.xcf.dao.model.InvoiceTitle;
import cn.com.xcf.dao.model.InvoiceTitleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InvoiceTitleMapper {
    /**
     * 新增的分页查询接口
     * @param example
     * @return
     */
    List<InvoiceTitle> querylistPage(InvoiceTitle example);

    InvoiceTitle selectByPrimaryKey(Long id);

    long countByExample(InvoiceTitleExample example);

    int deleteByExample(InvoiceTitleExample example);

    int insert(InvoiceTitle record);

    int insertSelective(InvoiceTitle record);

    List<InvoiceTitle> selectByExample(InvoiceTitleExample example);

    int updateByExampleSelective(@Param("record") InvoiceTitle record, @Param("example") InvoiceTitleExample example);

    int updateByExample(@Param("record") InvoiceTitle record, @Param("example") InvoiceTitleExample example);
}